package com.dhwl.hsh.merchant.ui.activity;

import android.os.Bundle;
import android.widget.Button;
import android.widget.EditText;
import android.widget.RatingBar;
import android.widget.TextView;

import com.dhwl.hsh.lib.view.CircleImageView;
import com.dhwl.hsh.merchant.R;
import com.dhwl.hsh.merchant.common.Constant;

import butterknife.Bind;
import butterknife.OnClick;

/**
 * 评价订单页面
 *
 * @author Derek.Kidd
 * @time 2016/5/3 17:34
 */
public class CommentOrderActivity extends BaseActivity {

    @Bind(R.id.tv_shipping_price)
    TextView tvShipingPrice;
    String orderId;
    @Bind(R.id.iv_user_head)
    CircleImageView ivUserHead;
    @Bind(R.id.tv_comment_name)
    TextView tvCommentName;
    @Bind(R.id.rb_user_rate)
    RatingBar rbUserRate;
    @Bind(R.id.tv_user_rate)
    TextView tvUserRate;
    @Bind(R.id.tv_plate_num)
    TextView tvPlateNum;
    @Bind(R.id.rb_to_rate)
    RatingBar rbToRate;
    @Bind(R.id.edit_words)
    EditText editWords;
    @Bind(R.id.tv_input_number)
    TextView tvInputNumber;
    @Bind(R.id.btn_sure)
    Button btnSure;


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }

    @Override
    protected int getLayoutId() {
        return R.layout.activity_comment_order;
    }

    @Override
    protected void initViews(Bundle savedInstanceState) {
        orderId = getIntent().getStringExtra(Constant.Order.KEY_ORDER_ID);
        String totalPrice = getIntent().getStringExtra(Constant.Order.KEY_ORDER_ID);
        setTitleContent("评价订单");
        tvShipingPrice.setText(totalPrice);

    }

    @Override
    protected void initData() {
//获取司机简介

    }

    @OnClick(R.id.btn_sure)
    public void onClick() {
        // TODO: 2016/5/16
    }
}
